package cn.iocoder.yudao.module.wms.controller.admin.checkvouch.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 盘点分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CheckvouchPageReqVO extends PageParam {

    @Schema(description = "流水号")
    private String code;

    /**
     * 业务员编码
     */
    private Integer personId;
    /**
     * 部门编码
     */
    private Integer deptId;
    /**
     * 仓库编码
     */
    private Integer warehouseId;
    private Integer locationId;

    @Schema(description = "订单日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] ddate;

    @Schema(description = "备注", example = "随便")
    private String cmemo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "创建人")
    private Long createBy;

    @Schema(description = "变更人")
    private Long updateBy;
    private Integer productionOrderId;
    /**
     * 审批结果
     *
     * 枚举 {@link}
     * 考虑到简单，所以直接复用了 BpmProcessInstanceStatusEnum 枚举，也可以自己定义一个枚举哈
     */
    private Integer status;

    /**
     * 对应的流程编号
     *
     * 关联 ProcessInstance 的 id 属性
     */
    private String processInstanceId;
}